﻿using System.ComponentModel.DataAnnotations.Schema;

namespace MyDapperApi.Models;
[Table("sgtq_front_queue_detail")]
public class SgtqQueueFrontDetailEntity:BaseEntity
{
    [Column("id")]
    public string Id { get; set; }
    [Column("code")]
    public int Code { get; set; }
    [Column("shop_id")]
    public string Shop_Id { get; set; }
    /// <summary>
    /// 0排队中1叫号中2已取消3已超时
    /// </summary>
    [Column("status")]
    public int Status { get; set; }
    [Column("created_on")]
    public DateTime Created_On { get; set; }
    [Column("date")]
    public int Date { get; set; }
    [Column("type")]
    public string Type { get; set; }
    [Column("phone")]
    public string Phone { get; set; }
    [Column("user_id")]
    public string User_Id { get; set; }
    [Column("user_name")]
    public string User_Name { get; set; }
    [Column("alarm_times")]
    public int Alarm_Times { get; set; }
    [Column("front_count")]
    public int Front_Count { get; set; }
    [Column("is_deleted")]
    public int Is_Deleted { get; set; }

}